package com.ssm.hyl.server;

import com.ssm.hyl.dao.UserDao;
import com.ssm.hyl.dao.UserDaoImpl;

import java.sql.SQLException;
import java.util.List;

/**
 * UserServiceImpl
 *
 * @author hyl
 * @date 2024-12-13
 */
public class UserServiceImpl {

    UserDao userDao = new UserDaoImpl();

    public List findALl(){
        try {
            return  userDao.findAll();
        } catch (SQLException e) {
            throw new RuntimeException(e);
        }
    }

}
